<h4>用户基本信息</h4>
<form class="form-horizontal" [formGroup]="userAddForm">
  <div class="form-group">
    <label for="inputEmail3" class="col-xs-3 control-label">姓名</label>
    <div class="col-sm-12">
      <input type="text" class="form-control" formControlName="perName" id="inputEmail3" placeholder="姓名">
    </div>
  </div>
  <div class="form-group">
    <label class="col-xs-3 control-label">账号</label>
    <div class="col-sm-12">
      <input type="text" class="form-control" formControlName="account" placeholder="账号">
    </div>
  </div>
  <div class="form-group">
    <label for="inputEmail3" class="col-xs-3 control-label">身份证</label>
    <div class="col-sm-12">
      <input type="text" class="form-control" formControlName="citID" placeholder="身份证">
    </div>
  </div>
  <div class="form-group">
    <label class="col-xs-3 control-label">电话</label>
    <div class="col-sm-12">
      <input type="text" class="form-control" formControlName="mobile" placeholder="电话">
    </div>
  </div>
  <div class="form-group">
    <label for="inputEmail3" class="col-xs-3 control-label">邮箱</label>
    <div class="col-sm-12">
      <input type="text" class="form-control" formControlName="email" placeholder="邮箱">
    </div>
  </div>
  <div class="form-group">
    <label class="col-xs-3 control-label">性别:</label>
    <label class="radio-inline radiobtn" for="sex1">
      <input type="radio" name="sexCode" formControlName="sexCode" id="sex1" [value]="1" > 男
    </label>
    <label class="radio-inline" for="sex2">
      <input type="radio" name="sexCode" formControlName="sexCode" id="sex2" [value]="0" > 女
    </label>
  </div>
  <div class="form-group">
    <label for="inputEmail3" class="col-xs-3 control-label">角色:</label>
    <label class="radio-inline radiobtn" for="role1">
      <input type="radio" name="role" id="role1" formControlName="role" [value]="1" > 领导
    </label>
    <label class="radio-inline" for="role2">
      <input type="radio" name="role" id="role2" formControlName="role" [value]="0"> 员工
    </label>
  </div>
  <div class="form-group">
    <label class="col-xs-3 control-label">部门:</label>
    <div class="col-sm-12">
      <select class="form-control" formControlName="dep">
        <option value=''>请选择</option>
        <option *ngFor="let d of depList" [value]="d.id">{{d.name}}</option>
      </select>
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-xs-12">
      <button type="submit" class="btn btn-outline-info" [disabled]="(!userAddForm.valid)" (click)="saveme(userAddForm.value)">保存</button>
    </div>
  </div>
</form>
